{% set id = options.link.parameters['id']|default(data.id)  %}

{% set path = options.link.url|default(path(options.link.route|default(grid.requestConfiguration.getRouteName('delete')), options.link.parameters|default({'id': id}))) %}

{{ component('sylius_shop:delete_modal', {id: id, path: path, label: action.label, icon: action.icon}) }}
